//
//  OPNetworking.swift
//
//  Created by zhaosanlong on 2022/4/16.
//

import Foundation
import UIKit


typealias OPRequestSuccessCallback = (_ responseData: Data?) -> Void
/// Closure type executed when the request is failed
typealias OPRequestFailedCallback = (_ error: Error) -> Void
/// Closure type executed when monitoring the upload or download progress of a request.
typealias OPRequestProgressCallback = (Progress) -> Void

final class OPNetworking {
    
    static let shared = OPNetworking()
    
    var customHeader: [String: String] = [:]
    
}
